package sdk.webview.fmc.com.fmcsdk.h5;


import sdk.webview.fmc.com.fmcsdk.base.BaseData;
import sdk.webview.fmc.com.fmcsdk.base.BaseView;
import sdk.webview.fmc.com.fmcsdk.bean.DDTypeBean;
import sdk.webview.fmc.com.fmcsdk.bean.SysKesDescBean;
import sdk.webview.fmc.com.fmcsdk.bean.UploadImage;
import sdk.webview.fmc.com.fmcsdk.check.bean.GetDetailsBean;
import sdk.webview.fmc.com.fmcsdk.check.bean.WorkHistoryBean;

/**
 * H5界面接口回调
 * Created by ydm on 2017/9/27.
 */

public interface H5View extends BaseView {
    //上传图片到PC端成功
    void uploadImgForClientSuccess(UploadImage baseData, String thumburl);

    //上传图片到PC端失败
    void uploadImgForClientOnError(int code, String imagename);

    void uploadImgOrVideoEnd();

    //获取token成功
    void getAccessTokenSuccess(String cookieToken);

    //获取token失败
    void getAccessTokenOnError();

    void uploadVideoSuccess(String url, String localUrl, String id);

    void uploadVideoError(String localUrl, String id);

    void modifyPasswordSuccess();

    void getpwdEnforcedSuccess(String pwdEnforced);

    void sysKehdescSuccess(SysKesDescBean baseData);

    void sysKehdescFail();

    void getDetailSuccess(GetDetailsBean baseData);
    void getDetailFail();
    void getResult(DDTypeBean bean);


    void getHistory(WorkHistoryBean bean,String id,String projId);
}
